package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存管理对象 meow_inventory
 * 
 * @author ruoyi
 * @date 2025-06-24
 */
public class MeowInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    private String productId;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long stockQuantity;

    /** 库存上限 */
    @Excel(name = "库存上限")
    private Long stockUpperLimit;

    /** 库存下限 */
    @Excel(name = "库存下限")
    private Long stockLowerLimit;

    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }

    public void setStockQuantity(Long stockQuantity) 
    {
        this.stockQuantity = stockQuantity;
    }

    public Long getStockQuantity() 
    {
        return stockQuantity;
    }

    public void setStockUpperLimit(Long stockUpperLimit) 
    {
        this.stockUpperLimit = stockUpperLimit;
    }

    public Long getStockUpperLimit() 
    {
        return stockUpperLimit;
    }

    public void setStockLowerLimit(Long stockLowerLimit) 
    {
        this.stockLowerLimit = stockLowerLimit;
    }

    public Long getStockLowerLimit() 
    {
        return stockLowerLimit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("stockQuantity", getStockQuantity())
            .append("stockUpperLimit", getStockUpperLimit())
            .append("stockLowerLimit", getStockLowerLimit())
            .toString();
    }
}
